<script setup lang="ts">
defineProps({
  description: String,
  svg: String
})
</script>

<template>
    <div>
    <div class="option">
      <div class="img">
          <img :src="svg" style="width: 70px;" alt="问卷调查">
      </div>
      <div class="description">
        <span>{{ description }}</span>
      </div>
    </div>
</div>
</template>
<style>
.option{
  display: flex;
  flex-direction: column;
  width: 70px;
  text-align: center;

}
.option .img{
   display: flex;
   flex-grow: 2;
}
.option .description{
   flex-grow: 1;
}
.description span{
  font-weight:normal;
}

</style>